<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
<xsl:include href="settings.xsl"/>
<xsl:include href="convert.xsl"/>
<xsl:include href="header.xsl"/>

<xsl:param name="page_id" select="/page/page_id"/>

<xsl:template match="/">
	<html>
		<head>
			<title><xsl:value-of select="/page/header"/></title>
			<META><xsl:attribute name="description"><xsl:value-of select="/page/description" disable-output-escaping="yes"/></xsl:attribute></META>
			<META><xsl:attribute name="keywords"><xsl:value-of select="/page/keywords" disable-output-escaping="yes"/></xsl:attribute></META>
			<META NAME="authors" CONTENT="MLS Solutions"/>
			<meta name="revisit-after" content="2 days"/>
			<META NAME="robots" CONTENT="index, follow"/>
			<META NAME="distribution" CONTENT="GLOBAL"/>
			<META NAME="classification" CONTENT="Recreation"/>
			<META NAME="copyright" CONTENT="Copyright 2003 MLS Solutions"/>
			<META HTTP-EQUIV="reply-to" CONTENT="info@yachtcouncil.org"/>
			<link rel="stylesheet" href="include/main.css" type="text/css"/>
		</head>
		<body link="{$color_main_first}" vlink="{$color_main_first}" alink="{$color_main_first}" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0" text="{$color_main_first}" bgcolor="{$bg_pagecolor}">
			<xsl:choose>
				<xsl:when test="//page/isNeedMenu=1"><xsl:call-template name="header"/></xsl:when>
				<xsl:otherwise>
				<table width="100%" align="center">
						<tr>
							<td width="100%" style="padding-left: 15px; padding-right: 15px;">
					<xsl:apply-templates select="page"/>
					<div align="center"><strong>Powered by <a href="http://www.yachtcouncil.com/" target="_blank"  style="color:{$color_main_first1};">Yachtcouncil.com</a></strong></div> 
							</td>
						</tr>
					</table>
				</xsl:otherwise>
			</xsl:choose>
		</body>
	</html>
</xsl:template>

</xsl:stylesheet>
